import {request} from "../utils/request";

//上传图片
export async function uploadImg(data) {
    const res = await request({
        url: `image`,
        method: 'POST',
        data
    }).catch()
    return res
}
